add jshintrc, tests for localstorage, fix browser build for stores
refactor geostore