adding in jshint support. fixing numerous lint errors.