Switch to lodash extend. Requirejs define cleanup.