add js transaction