A "playlist" library made with javascript