This also matches any url with "youtube" on it, such as "youtubedoubler.com" or "whatever.net/youtube"

use something like `/^(https?:\/\/www\.)?(youtube\.com|youtu\.be)\//`, the dots need to be escaped. it's also a good idea to place this regexp in the outer scope and then use `RegExp#test()`