js fix for basket, in case shop doesnt start in the root url