Fixes for AJAX registration

Email address is required, so I have added a check for it. The error
message for duplicate email addresses has also been improved a bit.
Whitespace cleanup in team_data.js

Cleans up extraneous whitespace in team_data.js