Updated so that the concatenated templates are wrapped in a single define/require statement