anchor.diff:  			<input type='hidden' name='filetype' value='pdf'>
   			<input type='hidden' name='filename' value='mutation_diagram_{{geneSymbol}}.pdf'>
   		</form>
  +		<form style="display:inline-block"
  +		      action='svgtopdf.do'
  +		      method='post'
  +		      class='svg-to-file-form'>
  +			<input type='hidden' name='svgelement'>
  +			<input type='hidden' name='filetype' value='svg'>
  +			<input type='hidden' name='filename' value='mutation_diagram_{{geneSymbol}}.svg'>
  +		</form>
   		<button class='diagram-to-pdf'>PDF</button>
  +		<button class='diagram-to-svg'>SVG</button>
   	</div>
   	<div id='mutation_diagram_{{geneSymbol}}' class='mutation-diagram-container'></div>
   	<div id='mutation_table_{{geneSymbol}}' class='mutation-table-container'>
  
positive.code: 						gene, mutationMap[gene], response, diagramOpts);
  
  				var pdfButton = mainView.$el.find(".diagram-to-pdf");
  				var toolbar = mainView.$el.find(".mutation-diagram-toolbar");
  
  				// check if diagram is initialized successfully.
  
negative.code: 						yLabels.attr("y", yy + yShift);
  					};
  
  					// submit pdf form
  					submitForm(alterDiagramForPdf, diagram, "svg-to-pdf-form");
  				});
  
  				// TODO draw mutation table
  