Use regexp for Chrome compatibility (fixes #2)
Use regexp for Chrome compatibility (fixes #2)

As explained on MDN[1], the use of a third argument for the
replacement flags is non-standard. Using a regular expression object
instead works across Firefox and Chrome.

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace

mgeisler/video-browser