Use websocket data.resource, auto reconnect
static html file