At trick one, as Art stated, our attitude to hearts is positive because we have the
Jack; we know partner is leading from KQ(x..). We simply want to encourage another heart so we can collect all our hearts after the Ace is gone. So play high on trick one. There is no other suit that is attractive to East, so signal that hearts are good !
The defense is easy so long as partner continues hearts. Declarer will win trick two with the Ace of hearts, and pull trumps (nothing else is better). East wins the Ace and the defense cashes its good heart. Declarer still has the club Ace to lose, and must go down.
Notice what a disaster it is if East mis-signals and West, thinking
South has the Jack of hearts and now being afraid to lead into declarer's (falsely presumed) Ace-Jack, leads another suit at trick two (say a diamond). South wins and knocks out the trump Ace. West can lead hearts now, but it's too late; dummy wins the Ace, declarer pulls trumps, and plays on diamonds.
South can eventually discard his losing heart on the King of diamonds, and makes his contract.
Moral of the Story: When you know partner is leading from KQ, your Jack is an equal honor. So it may be (usually is) a good idea to encourage partner to keep up that suit.