Refactor utility functions to use underscore.js