move jukebox functions into a namespace