More refactoring in otherGoodies.js Refs #179