Fixing IE9 shenanigans