switch to esprima
fix block statements