Refactor a bit the init function in server.js
Unify code style in server.js