1. Wait for cytoscape to start and execute the script.
2. Handle urls with/without the URL: prefix correctly