Uses regex to validate YouTube URL, should be better. Other small tweaks.