prefer window.frames.sbnav in JS examples