javascript for adding href to playlists