Setup vis objects in js.