Added support for in-browser graphing.