Added code to include register.js with register.php