Correct db reference since store.js