added missing semicolon in replaceHistoryState()