add js client and widgets