[#301] fixed jshint reported issues