Add some globals for NodeJ and remove old debugging logs.