Simple registration form in HTML/Javascript