fixed jshint errors

fixed jshint errors