syntax error in register_new.html's js