Trigger event when loading new page.
Honor current port number in URLs.
Merge pull request #1 from prathe/master

1 enhancement, 1 fix