Parse location.href with an anchor for IE
IE only cleans up URL for .href
Merge pull request #1049 from mastahyeti/origin_anchor

Parse location.href with an anchor for IE