adding basic support for popstate event
Merge pull request #2 from djalmaaraujo/popstate-event

Adding basic support for popstate event