removing unused vars

thanks jshint