added doctype.
make sure we force css replacement mode, regardless of browser capabilities, while running tests
html cleanup and FF compatibility
turn on css mode in silly firefox