Changed javascript name of var in registrations new view