custom basketjs: synchRequire, checksums, has or not localStorage; refactoring example to new functionality