example of using vis.js