Upgrade vis.js to 0.7.0 and restructured the code to include 3rd
party library