JavaScript API for OrientDB