client: add js libraries