browserifyable hashchange shim