Javascript Registration Web App - Simple practice in MVC