now use one key:value for each form and window.location to generate the storage key, add the max_age setting.