anchor.diff:  
               <c:if test="${phenotypeStarted}">
                   <script type="text/javascript"
  -				src="${drupalBaseUrl}/heatmap/js/heatmap.1.3.1.js"></script>
  +                        src="${drupalBaseUrl}/heatmap/js/heatmap.1.3.1.js"></script>
                   <!--[if !IE]><!-->
                   <script>
  -																	dcc.heatmapUrlGenerator = function(genotype_id, type) {
  -																		return '${drupalBaseUrl}/phenoview?gid=' + genotype_id + '&qeid=' + type;
  -																	};
  -																</script>
  +                    dcc.heatmapUrlGenerator = function (genotype_id, type) {
  +                        return '${drupalBaseUrl}/phenoview?gid=' + genotype_id + '&qeid=' + type;
  +                    };
  +                </script>
                   <!--<![endif]-->
                   <!--[if gte IE 9]>
                   <script>
  -                    dcc.heatmapUrlGenerator = function(genotype_id, type) {
  -                       return '${drupalBaseUrl}/phenoview?gid=' + genotype_id + '&qeid=' + type;
  -                    };
  +                dcc.heatmapUrlGenerator = function(genotype_id, type) {
  +                return '${drupalBaseUrl}/phenoview?gid=' + genotype_id + '&qeid=' + type;
  +                };
                   </script>
                   <![endif]-->
                   <script>
  -																	//new dcc.PhenoHeatMap('procedural', 'phenodcc-heatmap', 'Fam63a', 'MGI:1922257', 6, '//dev.mousephenotype.org/heatmap/rest/heatmap/');
  -																	new dcc.PhenoHeatMap({
  -																		/* identifier of <div> node that will host the heatmap */
  -																		'container' : 'phenodcc-heatmap',
  -																		/* colony identifier (MGI identifier) */
  -																		'mgiid' : '${gene.mgiAccessionId}',
  -																		/* default usage mode: ontological or procedural */
  -																		'mode' : 'ontological',
  -																		/* number of phenotype columns to use per section */
  -																		'ncol' : 5,
  -																		/* heatmap title to use */
  -																		'title' : '${gene.markerSymbol}',
  -																		'url' : {
  -																			/* the base URL of the heatmap javascript source */
  -																			'jssrc' : '${fn:replace(drupalBaseUrl, "https:", "")}/heatmap/js/',
  -																			/* the base URL of the heatmap data source */
  -																			'json' : '${fn:replace(drupalBaseUrl, "https:", "")}/heatmap/rest/',
  -																			/* function that generates target URL for data visualisation */
  -																			'viz' : dcc.heatmapUrlGenerator
  -																		}
  -																	});
  -																</script>
  +                    //new dcc.PhenoHeatMap('procedural', 'phenodcc-heatmap', 'Fam63a', 'MGI:1922257', 6, '//dev.mousephenotype.org/heatmap/rest/heatmap/');
  +                    new dcc.PhenoHeatMap({
  +                        /* identifier of <div> node that will host the heatmap */
  +                        'container': 'phenodcc-heatmap',
  +                        /* colony identifier (MGI identifier) */
  +                        'mgiid': '${gene.mgiAccessionId}',
  +                        /* default usage mode: ontological or procedural */
  +                        'mode': 'ontological',
  +                        /* number of phenotype columns to use per section */
  +                        'ncol': 5,
  +                        /* heatmap title to use */
  +                        'title': '${gene.markerSymbol}',
  +                        'url': {
  +                            /* the base URL of the heatmap javascript source */
  +                            'jssrc': '${fn:replace(drupalBaseUrl, "https:", "")}/heatmap/js/',
  +                            /* the base URL of the heatmap data source */
  +                            'json': '${fn:replace(drupalBaseUrl, "https:", "")}/heatmap/rest/',
  +                            /* function that generates target URL for data visualisation */
  +                            'viz': dcc.heatmapUrlGenerator
  +                        }
  +                    });
  +                </script>
               </c:if>
   
           </jsp:attribute>
  
positive.code:             <script type="text/javascript" src="${baseUrl}/js/general/allele.js"></script>
    
              <script type="text/javascript">
  													var gene_id = '${acc}';
  
  													$(function() {
  														console.log('calling tabs now');
  
  														$("#tabs").tabs();
  
  														$('ul.tabs li a').click(function() {
  															$('ul.tabs li a').css({
  																'border-bottom' : 'none',
  																'background-color' : '#F4F4F4',
  																'border' : 'none'
  															});
  															$(this).css({
  																'border' : '1px solid #666',
  																'border-bottom' : '1px solid white',
  																'background-color' : 'white',
  																'color' : '#666'
  															});
  														});
  
  														$('ul.tabs li a').css({
  															'border-bottom' : 'none',
  															'background-color' : '#F4F4F4',
  															'border' : 'none'
  														});
  														$('ul.tabs li a#ui-id-1').css({
  															'border' : '1px solid #666',
  															'border-bottom' : '1px solid white',
  															'background-color' : 'white',
  															'color' : '#666'
  														});
  
  													});
  												</script>
              <style>
  #svgHolder div div {
  	z-index: 100;
  }
  
  span.direct {
  	color: #698B22;
  }
  
  span.indirect {
  	color: #CD8500;
  }
  
  /* copied from CKs gwas page */
  div#tabs {
  	border: none;
  }
  
  ul.tabs {
  	border: none;
  	border-bottom: 1px solid #666;
  	background: none;
  }
  
  ul.tabs li:nth-child(1) {
  	font-size: 14px;
  }
  
  ul.tabs li a {
  	margin-bottom: -1px;
  	border: 1px solid #666;
  	font-size: 12px;
  }
  
  ul.tabs li a:hover {
  	color: white;
  	background-color: gray;
  }
  
  div.ui-tabs-panel {
  	padding: 0 !important;
  }
  .acontainer {
  	height: auto;
  	overflow: hidden;
  }
  .aright {
  	width: 200px;
  	float: left;
  	text-align: center;
  }
  .aleft {
  	float: none;
  	background: white;
  	width: auto;
  	overflow: hidden;
  	margin-left: 250px;
  }
  ul#expList {
  	/*Dividing long list of <li> tags into columns*/
      -moz-column-count: 2;
      -moz-column-gap: 30px;
      -webkit-column-count: 2;
      -webkit-column-gap: 30px;
      column-count: 2;
      column-gap: 30px;
  }
  ul#expList li {
  	padding-left: 0;
  	width: auto;
  }
  
  </style>
  
              <c:if test="${phenotypeStarted}">
                  <!--[if !IE]><!-->
                  <link rel="stylesheet" type="text/css"
  				href="${drupalBaseUrl}/heatmap/css/heatmap.1.3.1.css" />
                  <!--<![endif]-->
                  <!--[if IE 8]>
                  <link rel="stylesheet" type="text/css" href="${drupalBaseUrl}/heatmap/css/heatmapIE8.1.3.1.css">
  
negative.code: 
          </jsp:attribute>
  
      <jsp:body>
          <div class="region region-content">
              <div class="block">
                  <div class="content">
                      <div class="node node-gene">
                          <h1 class="title" id="top">Gene: ${gene.markerSymbol}</h1>
  
                          <div class="section">
                              <div class="inner">
                                  <!--  login interest button -->
                                  <div class="floatright">
                                      <c:choose>
                                          <c:when
                                                  test="${registerButtonAnchor!=''}">
                                              <p><a class="btn"
                                                    href='${registerButtonAnchor}'><i
                                                    class="fa fa-sign-in"></i>${registerInterestButtonString}</a>
                                              </p>
                                          </c:when>
                                          <c:otherwise>
                                              <p><a
                                                      class="btn interest" id='${registerButtonId}'><i
                                                      class="fa fa-sign-in"></i>${registerInterestButtonString}</a>
                                              </p>
                                          </c:otherwise>
                                      </c:choose>
                                      <c:if
                                              test="${orderPossible}">
                                          <p><a class="btn"
                                                href="#order2"> <i class="fa fa-shopping-cart"></i> Order </a></p>
                                      </c:if>
  
                                  </div>
  
                                  <p class="with-label no-margin">
                                      <span class="label">Name</span>
                                          ${gene.markerName}
                                  </p>
  
                                  <c:if
                                          test="${!(empty gene.markerSynonym)}">
                                      <p class="with-label no-margin">
                                          <span class="label">Synonyms</span>
                                          <c:forEach var="synonym"
                                                     items="${gene.markerSynonym}" varStatus="loop">
                                              ${synonym}
                                              <c:if
                                                      test="${!loop.last}">, </c:if>
                                              <c:if
                                                      test="${loop.last}"></c:if>
                                          </c:forEach>
                                      </p>
                                  </c:if>
  
                                  <p class="with-label">
                                      <span class="label">MGI Id</span>
                                      <a
                                              href="http://www.informatics.jax.org/marker/${gene.mgiAccessionId}">${gene.mgiAccessionId}</a>
                                  </p>
  
                                  <c:if
                                          test="${!(prodStatusIcons == '')}">
                                      <p class="with-label">
                                          <span class="label">Status</span>
                                              ${prodStatusIcons}
                                      </p>
                                  </c:if>
                                  <p class="with-label">
                                      <span class="label">ENSEMBL Links</span>
                                      <a
                                              href="http://www.ensembl.org/Mus_musculus/Gene/Summary?g=${gene.mgiAccessionId}"><i
                                              class="fa fa-external-link"></i>&nbsp;Gene&nbsp;View</a>&nbsp;&nbsp;
                                      <a
                                              href="http://www.ensembl.org/Mus_musculus/Location/View?g=${gene.mgiAccessionId};contigviewbottom=das:http://das.sanger.ac.uk/das/ikmc_products=labels"><i
                                              class="fa fa-external-link"></i>&nbsp;Location&nbsp;View</a>&nbsp;&nbsp;
                                      <a
                                              href="http://www.ensembl.org/Mus_musculus/Location/Compara_Alignments/Image?align=677;db=core;g=${gene.mgiAccessionId}"><i
                                              class="fa fa-external-link"></i>&nbsp;Compara&nbsp;View</a>
                                  </p>
  
  
                                  <!-- hide GWAS stuff for now
                                      <c:if test="${gwasPhenoMapping != null }">
                                      	
                                         	<c:if test="${gwasPhenoMapping == 'no mapping' }">
  