This isn't the algorithm used by require.js and it breaks built version. see https://github.com/ajaxorg/ace-builds/blob/master/src/worker-json.js#L1045