added some fixes for foundation5 IE8 problems