fixing jshint errors.