added js exporter but not implemented some parts. tests have still errors