added cart and some js