Update index.js

Removed the dependency on ox.graph