js for store pages