add store and tree store base classes; JS Lint