Fix "Cannot call method 'split' of undefined" bug with last version of youtube-dl (2014.04.21.6)
Remove commented old code
Add a second var
Remove the extra space
Save the regexp in the outer scope so it's not compiled every time this function runs
Merge pull request #27 from jaysalvat/master

Cannot call method 'split' of undefined with last youtube-dl version (2014.04.21.6)