fixed jshint build errors