add js stub