Fixes for IE

IE will only render in standards mode if we have a DOCTYPE.
Adding that will also trigger rendering changes in other browsers such as Chrome, which I've fixed