IE8 fixes

* plus some cleanups
put IE8 in standard mode