Test the addEventListener compatibility once, use QanimationFrame