forms.js file has been added to the project

forms.js file has been added to the project. Minor changes have been
performed on register.php.