The Egyptian, Salah, cut in to curl home with his left foot in the 57th minute — his first league goal since 19 December — and doubled the lead with a silky close-range finish from a flowing 68th-minute counter-attack.
Substitute Roberto Firmino set up Gini Wijnaldum to tap home Liverpool’s third in the 84th minute before Craig Dawson replied for the hosts with a consolation goal three minutes later.
“We scored wonderful goals, all three were unbelievable,” Klopp said. “Maybe in the last week we spoke the right stuff. These players are a good group and are not happy with not being successful. But they remained with the right attitude.”
With Sadio Mane ruled out injured and Firmino left on the bench, the burden was on the league’s top scorer Salah to provide Liverpool’s attacking threat and he delivered with an amazing second-half display to take his tally to 15 for the season.
Considering the run West Ham had been on, winning four league games in a row, their approach against a Liverpool side with a patched-up defence was surprisingly timid.
They barely created a chance, although Michail Antonio did fire narrowly wide in the 55th minute from Jarrod Bowen’s pass.
But seconds later the switch proved to be a masterstroke as Jones did well to keep possession and play in Salah on the right. The Egyptian then cut in and curled home a superb finish.
Salah’s second was even better. When a West Ham corner came to nothing, Jones spread a long ball out to Xherdan Shaquiri whose first-time diagonal pass was caressed by Salah who then nudged the ball left-footed past Lukasz Fabianski.
Liverpool’s third was an intricate passing move that sliced through the West Ham rearguard before Firmino unselfishly squared for Wijnaldum to score.