Ensure JS features are working properly with isolated worlds
@carlosgc reports some Epiphany features (e.g. the modified forms warning, and the methods to get the web app icon) are probably not working after 5528c502. We should fix them. Depends on https://bugs.webkit.org/show_bug.cgi?id=186192.