redid cart in Ajax