update .gitignore
remove ajax form submission from main.js
correct form action url