This sounds like a very old template and I don't think it's too useful, rather than trying to alter that you should probably be starting from scratch with localstorage and saving some data that way. Ditch the template, look at local storage in the manual and post here if you need help with saving data.