enable js to listen on an existing server
Merge pull request #36 from 4z3/listen-server

enable js to listen on an existing server