This JavaScript Class will automatically check the stylesheet for media queries and in IE8 and below it will update the style on resize.