Update submissions.js: fixed #89