1457: update javascript: add warning if deleting entire cart