update playlist.js for promisified method