Replace 'root' with 'this' in acorn.js.