old_contents: document.getElementById('go').onclick = function () {
    document.getElementById('connectResponse').innerHTML = "<p>Connecting.....</p>";
    $fh.cloud(
        {
          path: 'connect',
          method: "GET",
          data: {
            host: document.getElementById('host').value,
            port: document.getElementById('port').value,
            database: document.getElementById('database').value,
            user: document.getElementById('user').value,
            password: document.getElementById('password').value,
          }
        },
        function (res) {
          document.getElementById('connectResponse').innerHTML = "<p>" + res.msg + "</p>";
        },
        function (code, errorprops, params) {
          document.getElementById('connectResponse').innerHTML = "<p background-color:red;>" + errorprops.message + "</p>";
          document.getElementById('connectResponse').innerHTML = "<p>" + errorprops.message + "</p>";
        }
    );
  };
new_contents: document.getElementById('go').onclick = function () {
    document.getElementById('connectResponse').innerHTML = "<p>Connecting.....</p>";
    $fh.cloud(
        {
          path: 'connect',
          method: "GET",
          data: {
            host: document.getElementById('host').value,
            port: document.getElementById('port').value,
            database: document.getElementById('database').value,
            user: document.getElementById('user').value,
            password: document.getElementById('password').value,
          }
        },
        function (res) {
          document.getElementById('connectResponse').innerHTML = "<p>" + res.msg + "</p>";
        },
        function (code, errorprops, params) {
          document.getElementById('connectResponse').innerHTML = "<p background-color:red;>" + errorprops.message + "</p>";
        }
    );
  };
subject: update file /www/connect.js