Get cart JS working with required.