use underscore.js for helper functions.