Finishes Ajax cart functions