Update playlist.js

Unsubscribe the event handler for "loadedmetadata" after playing the video