code: function loadPdfTemplate(params, cb) {
    logger.debug("renderPDF loadPdfTemplate", params);
  
    //Already have a compiled template, no need to compile it again.
    if (pdfTemplate) {
      return cb(null, pdfTemplate);
    } else {
      readAndCompileTemplate(function(err, compiledTemplate) {
        pdfTemplate = compiledTemplate;
        return cb(err, pdfTemplate);
      });
    }
  }
docs: Loading The Submission Template From Studio
  @param params
  - location
  - pdfTemplateLoc
  @param cb
  @returns {*}
  @private