[WIP] Remove dependency on underscore.js