From https://github.com/RiveraGroup/viz.js

