I think your underscore module might be outdated. `indexBy` is new as of 1.5.2 (7th of September)