updated class to a more sexy way of creating classes in js
Merge pull request #22 from rhwy/localdatastorage_refactor

updated class to a more sexy way of creating classes in js