fix package json
use escodegen for compilation
uncommitted wip from last year