use localStorage instead of sessionStorage so the code can deal with 
PA crashes
Merge pull request #13 from pamods/master

use localStorage instead of sessionStorage so the code can deal with