Newcastle's winning run was halted by West Ham, who won 2-0 at St James' Park