Sharp-shooting Celtics survive late barrage from Bucks