Update submissions.js

minor fixes
Merge pull request #11 from josve05a/patch-1

Update submissions.js