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.  Also updated the variable name at lines 46 and 47 to be the pathname instead of the href, since that's what we are really working with at that point in the code.