client: rename submissions.js to sumissions.src.js
client: lint and remove unused code
fix lint errors
add minify and lint scripts