- First part for form submit in JS
- Changes to view for form submit