Add full subdoc support to Javascript client

':' should be a comma.