Fixed a bug in app.js
Upgraded socket.io to version 1.0.4