some js stuff to create a playlist song