Added if statement to only replace youtube

If statement checks if the src / href actually contains youtube.com.
Saves time on expensive regex by using indexOf