Move javascript for waterfall into a separate file.

* Remove underscore dependency we don't need it.
* Fix invisible bars on the graph.
Use xhgui purple for bars.