remove assignment warnings from jshint