Update submissions.js

minor fixes