Replace _.extend() with ES6 Object.assign() polyfill