Yegor Sharangovich scored in the dying seconds of overtime as the New Jersey Devils beat the Boston Bruins 2-1.