Update playlist.js

I used the wrong method.