ie8 compatability fixes