Ayr were undone by a moment of magic as Easton's second half strike kept Raith's play-off hopes alive.