Update submissions.js

fix access key (a is used for "article"); remove obsolete stuff; small improvements on the cleanup code