/*jshint node: true, -W106 */
'use strict';

console.log('Hello World');

var http = require('http');

http.createServer(function (req, res) {
  var html = buildHtml(req);

  res.writeHead(200, {
    'Content-Type': 'text/html',
    'Content-Length': html.length,
    'Expires': new Date().toUTCString()
  });
  res.end(html);
}).listen(80);

function buildHtml(req) {
  var header = '<title>Hello World</title>';
  var body = '<p>Hello World</p>';

  // concatenate header string
  // concatenate body string

  return '<!DOCTYPE html>'
       + '<html><header>' + header + '</header><body>' + body + '</body></html>';
};
@@ -366,24 +366,46 @@
 ) %7B%0A
-  var 
+%09return '%3C!DOCTYPE html%3E%3Chtml%3E%3C
 header
- = '
+%3E
 %3Ctit
@@ -430,25 +430,23 @@
 tle%3E
-';%0A  var body = '
+%3C/header%3E%3Cbody%3E
 %3Cp%3EH
@@ -463,165 +463,8 @@
 %3C/p%3E
-';%0A%0A  // concatenate header string%0A  // concatenate body string%0A%0A  return '%3C!DOCTYPE html%3E'%0A       + '%3Chtml%3E%3Cheader%3E' + header + '%3C/header%3E%3Cbody%3E' + body + '
 %3C/bo

fix norris-nrti.js