Changes to add an eventtarget atrribute to the websocket.rs file and fix the issues raised.