changes to the javascript for the signup form