submit.js fixed