moved websocket var
useless semicolon