node+browser asmjs implementation of esprima