fixing bug on category aggregation when loading store without products
fixing rootUrl variable for stores that have single quotes in the name