W3C validation 

Enhanced error tests and scripting for w3c validation
The use of `eval` is a serious security risk.