localstorage not working

saving app state before implementing jquery storage api