Fix incorrect function name in register.js

This was preventing the Student fields from loading correctly when entering
a student-formatted email address

See #241