Perth Glory came from behind twice to get the win over the Newcastle Jets, while the Western Sydney Wanderers were toothless in front of goal.