JSCS
Errors fixed via jshint and jscs.