Fixed example in readme.md

Listen event doesn't receive any parameter.
I also removed the `pid` from console, because that variable doesn't exist and I don't know from where can be got.