switched from esprima to acorn

this seems to fix most of my bugs