Update sharedpreferences.js
Merge pull request #3 from edelworksgithub/edit

Update sharedpreferences.js for issue#1