Modifications for the generalValidation.js file and commit of new php file.