Reduce vis.js size