Parse m3u, pls, and asx in JavaScript