update of submit.js