Add real server reboot through a wrapper script + add config file for environnement settings + fix some issues in javascript client