Added doT engine and converted error message to use a template instead.
Reduced code size of error template
Minor change in css icon