migrate JS main generation into new framework
Merge branch 'master' of github.com:SINTEF-9012/ThingML