code: async function preRenderElements (elements, globals) {
    for (let element of elements) {
      await element.preRender(globals)
    }
  }
docs: Run the async preRender functions for each element
  @param  {Array}  elements  List of element definitons
  @param  {Object} globals
  @return {Promise}