moved configuration to localStorage instead of config.js