fix jshint warnigns