deleted some lines in listening.js