tooling API for validating JS source with the esprima parser