Marko Arnautovic, who returned to the team for the first time after injuring his hamstring in January, scored the second goal as West Ham defeated Watford by two goals.
Manager David Moyes was happy to see him back, saying: "I am pleased with his goal. He missed a couple and could have scored more. He had a good shout for a penalty and was a bit unlucky not to get that, but overall he is really important for us and we have missed him when he has been out.
"He has only trained three days and I am hoping his levels will get up…We are missing Lanzini as well but getting Marko back was a really big boost for us."
The Scot also praised striker Javier Hernandez, who scored West Ham's first goal in the 38th minute.
"That's what Chicharito does if we can get him some deliveries in the box," he said. "It was a terrific cross from Micky Antonio and a great run as well. We need to give him service. Marko can score in different ways, hopefully we can keep scoring and I am glad they both got goals today. "
Responding to questions about where he hoped his team would finish, Moyes said "The big thing was to get a result today, getting to 30 points and now the next target is getting to 40 and the sooner we do that the better."
"We are not letting up, we are not dropping anything because we have done nothing yet. Hopefully by the end of the week they might earn a day or two off but they are going to have to earn it."