Various jshint fixes