[BrowserTest] stuff moved out of the iframe to the main page

step-wise update, probably more changes to come

Change-Id: Ia40c03dd59ab0b28af56176b6da4d30a1e66a195