collab doc editing code is in place but causing infite loop, TODO is in index.jade line 35