Modifying app.js code to work with iisnode
merge of different commits