Ran jshint

Fixed some issues