Organized viewStore.js