Connect to correct websocket address
Change tabs to 2 spaces in JS code