removed unused var for jshint