in MotionMark/resources/runner/motionmark.js [423:442]
showSection: function(sectionIdentifier, pushState)
{
var sections = document.querySelectorAll("main > section");
for (var i = 0; i < sections.length; ++i) {
document.body.classList.remove("showing-" + sections[i].id);
}
document.body.classList.add("showing-" + sectionIdentifier);
var currentSectionElement = document.querySelector("section.selected");
console.assert(currentSectionElement);
var newSectionElement = document.getElementById(sectionIdentifier);
console.assert(newSectionElement);
currentSectionElement.classList.remove("selected");
newSectionElement.classList.add("selected");
if (pushState)
history.pushState({section: sectionIdentifier}, document.title);
},