Modularized js/register.js
For future use with valid inputs (e.g. user_name,
password) and notifications