finalized, written for 98si-javascript at Stanford

Validates user input fields of username, password, and email