Fixes for IE8

Why do we still have to put up with IE below 9?