error reported by jshint