I know this isn't very nice code, but did you consider reloading the page directly after it first loaded?