Changes code for detect IE browser version (now it works in last jQuery versions)