Fixes for IE9 support