Linting

Setup some sensible defaults for jshint and jscs

Updated the codes to reflect this.