whitespace triming
add localstorage support
Merge pull request #96 from iRyusa/master

Add localStorage support