Refs #6288; fixed jslint warnings