fixes most esprima parse problems by wrapping code in function before parsing
0.1.1 more robust code parsing