workaround about history.popState event on very first pageLoad in Chrome/Safari