fixed jshint errors - mostly