fix #1508: jshint is broken in build

@lennartcl