annotation.boxes.forEach( function(box) {
                        if ( box.rangeElement ) box.rangeElement.classList.toggle('active');
                    });