socket.io, mongoose and backbone with async templates