Fixing uri for socket.io in application.js