Update registerForm.js