If this is really important to you, think about using browser storage for stuff like this.
Learn about browser storage (click thru to post and watch my videos):