initialize the socket.io in app.js.
addd socket.io.min.js.