Switch into using GetContentDOMWindow instead of browserByID in JS