Don't redirect to cart path if js request (minicart)