jsUnit uses frames in order to remove dependencies upon a browser's implementation of document.getElementById and HTMLElement.innerHTML.