Fixed an issue about webpage.url

browserJustCreated should be set to false when the loading is finished.
When a popup is loaded, browserJustCreated was not modified.