title: Node.js keeps hanging/loading on localhost
body: <p>I'm following this beginner node.js tutorial (<a href="http://debuggable.com/posts/understanding-node-js:4bd98440-45e4-4a9a-8ef7-0f7ecbdd56cb" rel="nofollow">http://debuggable.com/posts/understanding-node-js:4bd98440-45e4-4a9a-8ef7-0f7ecbdd56cb</a>) and i have just created my first server using this code:</p>
  
  <pre><code>var http = require("http")
  
  http.createServer(
  
      function(request, response){
  
          response.writeHead(200, {"Content-Type":"text/plain"})
          response.write("hello world")
          response.end
  
      }
  
  
  ).listen(3333)
  </code></pre>
  
  <p>This works great, but when i go to the url localhost:3333/ i see the words "hello world" very briefly and then it just dissapears.</p>
  
  <p>See this vine for a quick video: <a href="https://vine.co/v/MBJrpBEQvLX" rel="nofollow">https://vine.co/v/MBJrpBEQvLX</a></p>
  
  <p>Any ideas?</p>