Fix some jshint issues