Changed populateCart from function to selector.
Changed populateCart function to selector.