Added unhandledException handler to server.js
server.js replaced string garbage with regexs
accidentally commented out unhandled exception handler as I wanted to see them temporarily