Added the html file to test the script. Problems with triggering the sending of the routes message, we need a scheduler to wait until the ICE candidates are returned and the connections is set to open. Look at signals to avoid a scheduler with fixed time.