Safely upgrade subscriptions, fix js uuid5.