various sharejs bits
Share button state