allow futher processing on the AST

Instead of throwing away the esprima parse results, let's use allow the to be used by the caller.