mbeanServerConnection.js: some small code improvements