Modified getTargetID in spektral-beta.js, working on example section.