rdfgraph.js cleanup