VizJS-lib converted to the 2.0 API discussed with jgb. Probably the final version.