checkouts.js creates fatal Javascript errors when it tries to run "escapeHtml()" on null values. This typically happens when a title or some other data element is null. That said, in theory many of these data elements shouldn't be null. But... we shouldn't be dying on Javascript errors either. We should catch the condition and do something about it.
*** This bug has been marked as a duplicate of bug 25293 ***