Modified forEach and map from vanilla JS to underscore