Added functions to "karaoke.js"