Additional browser window handling scripts