Windows 8.1 IE11 pointerType change

We had a problem on Windows Surface RT, this few modification solved it for us. I found out that after windows 8, Microsoft had changed the event.pointerType from long to string. So now is has type 'any', as it is written here: http://msdn.microsoft.com/en-us/library/windows/apps/hh466130.aspx
This modification solves the problem on IE11 - windows 8.1