ie8 compatibility fixes