Because the CM & Ace scripts are naively concat-ed together, the Ace applyToShareJS function would be overwritten by the CM version. Also fixes bugs where adapter was calling old version of ShareJS api and the old CM api