Code to check for IE, removing extension param