Updated base.js to connect to server without hostname configuration.