In memory storage with array.js