Needed host check for pushstate.js

pushstate.js was only checking the pathname.  Since HTML5 pushstate only works on the same hostname, other links should be allowed to work as normal.  Links to other domains will now work.