getState() should only return the pathname in the url.
Merge pull request #1 from nlacasse/getState

getState() should only return the pathname in the url.