Added basic chat backend.
Bugfix: Non-debug mode of nodejs server now runs again.