js object for creating and manipulating child windows using window.PostMessage