Added iterator to stores in JavaScript. Added test to movies.js.