Improve the JS tied to the username field.