fixes jshint issues - refs #699