add JS export tests for all JS API scripts