fixed jshint breaks