example of shareJS (closes #22)