update html demo to run without any backend or appSockets.