Changed listElements to getAllElements in spektral-beta.js.