FS#2718, fix IE9, 10 not executing js after @media layout changes

issue not related to resizing, but the type of the value returned by css('z-index').