jshint setup
Merge branch 'jshint'
fixing as many lint errors as I can