allow functional style in jshint