relaxing jshint onevar