jshint fix, double var declartion