JSFrame.js examples
Using an iframe for window content
View source on GitHub