IE9 fixes (hopefully)