Porting shoresh over to use node + mongo