[#805] jshint fixes