Add OpenDetails siblings to the bottom of the container to avoid inserting the elements in reverse order.
Set the cursor to "pointer" in the CSS rather than JS to make sure that even browsers with native details support also display the pointer.
Finally fixed the lazy browser test for OpenDetails since Chrome is no longer the only browser to support the new HTML5 "details" element.