Updated index to include submit.js