Changes to js to swap popular products & whole catalog