Add a simple 'username valid' JS check to submit form.

Closes #5.