sharejs implementation