Fix/start listening

fixing the hello-world gadget for the latest API changes: add startListening and replace window.location.origin by '*'