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.
Merge pull request #42 from ifraixedes/patch-1

Fixed example in readme.md