Compare event.source instead of passed href string
Merged two if's into one
Merge pull request #6 from guardian/trailing-slash

Compare event.source instead of passed href string