initial JS for playlists ajax call to db