use rewrite-js-dependencies
add esprima