eventemitter wrapper for html5 pushState