Used dom, to create HTML

Updated UpdatePlayList function to use DOM methods, code got longer but this is "The right way to do it"....