Replace newIE with ie && version == 11. Check if( ie && version == 11 ) instead of  if( ie ).