Add changes to check for message received
Add function for get request for data then add call to function when websocket message is received. IT WORKS
Remove setInterval for dynamically added confirm pickup button by using window.load and click handler for dynamically created elements