add unfortunate hack to fix requirejs

Going to try to get this fixed upstream in json3.