Fix require: lodash / underscore

Allow underscore to be required if lodash is unavailable.