applied underscore to util.js