To simplify development I merged client.js into scripts.js
Now troubleshooting connection issue with EC2: VM324:1 WebSocket connection to 'ws://ec2-54-194-9-166.eu-west-1.compute.amazonaws.com:8000/styletransfer' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
client.js
intoscripts.js
VM324:1 WebSocket connection to 'ws://ec2-54-194-9-166.eu-west-1.compute.amazonaws.com:8000/styletransfer' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED