added fix for ie10 on windows 8 and windows phone 8