fixed the remaining jshint warnings!