Apply jslint, === > ==, !== > !=, ; where needed and the rest is cosmetic
Remove specifiedLayout, no benifits for storing a refrence there
Don't trow errors, pass them on to next() stack object so express can deal with it without craching
Strip content blocks when rendering without layout
Remove test with default layout
Save cpu cycles, force currect use or let them die in a fire
Save cpu cycles, remove script parser. Correct use: add script content block ...
Final clean up