removing _.defaults, adding a polyfill