add some start code to vis.js