Fixes for IE9+10, warning for <10