Update index.js

Using lodash instead of lodash.merge