Use escodegen to generate code from ast

* add option to emit source map