fixes jshint warning