Gordon Hayward made 17 of his 20 shots to equal his career-best tally of 39 points in the Boston Celtics' win over the Cleveland Cavaliers.