made changes to be more w3c compliant.