fixed problems with localforage
Merge pull request #12 from naman34/dev

Fixed problems with localforage