Fix SocketIO configuration and Jade deprecation

- Remove createServer() method because it is deprecated
- Remove app.configuration in server.js file because it is deprecated
- Change doctype 5 to doctype html because the former is deprecated