clarified cart JSON; better error handling in placeorder.php; easier to use test page.