Hammers captain was back to his best to inspire his side to their first home league win of the season