Playlist support for audio and video tags using jQuery