F2: Creating an AJAX-based cart