W3C validation 

Enhanced error tests and scripting for w3c validation
Surrounding space missing for operator '=='.