JS Lint

Correct several app files and handlebarsHelper.js file for JS errors.