Fix typos in submit.js