header cart and call-back html and js logic