add js adapter to dist