moved listen stuff to listen.js route