fix for IE that see undefined in some navigator detection