Some simple Javascript utility functions to work with Neo4j