After searching far and low I finally found the answer.
The solution was that someone cross compiled Graphviz to Javascript using llvm + emscripten. Here is the link:
http://viz-js.com/
The source can be found at:
https://github.com/mdaines/viz.js
And to simply get a webpage up use:
var graphviz_text = ...;
document.body.innerHTML += Viz(graphviz_text, "svg");