fixed import of esprima to use UMD