remove duplicated addToPlaylist call
new js version