code: function() {
          var req = self.apos.templates.contextReq;
          return self.apos.templates.safe(
            '<script type="text/javascript">\n' +
            '  if (window.apos) {\n' +
            '    ' + req.getBrowserCalls() + '\n' +
            '  }\n' +
            '</script>\n'
          );
        }
docs: Invoke browser-side javascript calls published via `req.browserCall` during the current request. This is for use when you are implementing an AJAX refresh of part of the page but you need the benefit of such calls (for instance: apostrophe-places map calls).