Added getElementByClass to spektral-beta.js.