Added js files for email pages and updated Hub methods
Submit button changed