Safer ExternalInterface availablity check via Guy Meiri