integrating underscore js for node.js utility
removing unneccessary code