title: Loading .html and .js with websockets
body: <p>I have the idea of having something like a web server but without a web server. Instead I want to use websockets. Is for internal use.</p>
  
  <p>The user will have a basic webpage which will only open a websocket connection and should receive an .html, and immediately navigate to it.
  Also it should be able to load a .js with helper functions for this new html.</p>
  
  <p>I saw here something to load an image file
  <a href="http://liamkaufman.com/blog/2012/02/11/12-pushing-files-to-the-browser-using-deliveryjs-socketio-and-nodejs/" rel="nofollow">http://liamkaufman.com/blog/2012/02/11/12-pushing-files-to-the-browser-using-deliveryjs-socketio-and-nodejs/</a>
  but I don't know how to navigate to a received .html file and how to execute a received .js file.</p>
  
  <p>Do not try to convince me of using a webserver or other technologies, I have my reaasons for doing this :-)
  Thanks</p>