anchor.diff:          <script type="text/javascript">
               var heatmapData = (function (genePropertiesTooltipModule) {
   
  +                <%--
                   //TODO: extract ensemlb genome launcher config parameters (ensemblDB, columnType etc.) out into separate object
                   //TODO: extract transcript parameters (queryFactorType, selectedFilterFactorsJson) out into separate object
                   //TODO: remove enableGeneLinks parameter
                   //TODO: investigate why showMaPlotButton is always true
  +                --%>
                   var config = (function (genePropertiesTooltipModule) {
                       return {
                           atlasHost: '${atlasHost}',
  
positive.code:                 }
              })(genePropertiesTooltipModule);
  
              (function ($, React, heatmapModule, heatmapConfig, columnHeaders, profiles, geneSetProfiles) {
  
                  $(document).ready(function () {
                      // call this inside ready() so all scripts load first in IE8
                      var build = ${isMultiExperiment ? 'heatmapModule.buildMultiExperiment': (isDifferential ? 'heatmapModule.buildDifferential' : 'heatmapModule.buildBaseline')};
  
                      var heatmap = build(heatmapConfig, $('#displayLevels'));
  
                      React.renderComponent(heatmap.Heatmap({columnHeaders: columnHeaders, profiles: profiles, geneSetProfiles: geneSetProfiles}),
  
negative.code: 
                      if (heatmap.EnsemblLauncher) {
                          React.renderComponent(heatmap.EnsemblLauncher(),
                                  document.getElementById(anatomogramData ? "anatomogram-ensembl-launcher" : "ensembl-launcher"));
                      }
  
                      // load anatomogram after heatmap is rendered so wiring works
                      if (anatomogramData) {
                          anatomogramModule.init(anatomogramData.allSvgPathIds, anatomogramData.maleAnatomogramFile, anatomogramData.femaleAnatomogramFile, anatomogramData.contextRoot);
                      } else {
                          $("#anatomogram").remove();
                      }
                  });
  
              })(jQuery, React, heatmapModuleBuild, heatmapData.config,
                      heatmapData.columnHeaders, heatmapData.profiles, heatmapData.geneSetProfiles, anatomogramData);
          </script>
      </c:otherwise>
  </c:choose>
  