Bart refactor local store

- refactored `*.coffee` to `*.js`
- added remove localdata/cookie functionality
- added `domain` & `path` params for cookie setting
- added specs