Lodash mixin for producing DOM elements