add js binding