Replacing underscore with lodash