added some jshint fixes