Finished the form and added the new main.js page with a lot of errors.