Fixed IE10 and Windows Phone 8 compatibility