Web3 Javascript Edit - Tracking transaction time

Job ID: 33678863

Budget: $10 – $30 USD

https://jsfiddle.net/wuzhong/ecau2sLm/
Edit this JavaScript (Web 3) so it uses HTTP to send Transaction and 2 Websocket Nodes to catch the transaction and show the time it took to catch them. It currently uses one of the Websocket Nodes to send the transaction and then uses the second one. It is already fully functional so this is a quick job. Please read through the code first and have Basic Web3 experience beforehand.
You can use a default HTTP RPC to send the transaction: https://bsc-dataseed1.defibit.io
Related categories: JavaScript Web3.js