DDP client written in Javascript