<div class="form-actions"> <input type="submit" onclick="return SignUp.validate();" class="btn btn-primary btn-large" value="Register"> </div>
Did you include your JS file?