fixed bug where event wasn't firing for URL's without www.*