refs #5983 fixed some jshint warnings