deleted unnecessary lines in vis.js