add js interface