Preserve title when updating browser history