Clean up JS
Merge branch 'CleanupJS' into front-end

Conflicts:
	master/buildbot/status/web/files/script/project/helpers.js
	master/buildbot/status/web/files/script/project/popup.js