Kelly hurt, but Bruins win in shootout