removed low-level esprima in favor of higher level detective