David Moyes felt justice was done as Everton came from behind to score twice in the closing two minutes to beat Tottenham 2-1 at Goodison Park.