fixing jshint warnings

fixing jshint warnings