Different initial popstate handling.
Merge pull request #133 from joosy/popstate

Different initial popstate handling.