Added password validation to reg.js and attatched the necessary HTML
elements to the reg.js file for later insertion into reg.html