Javascript clean up

Ran jslint on express specific javascript (excluding express.js, which was cleaned up here: https://github.com/silverstripe-labs/silverstripe-express-theme/pull/2), and tidied up whitespace.