using node-tsc
inlined tsc.js into index.js