change demo.html to ws connection