title: What does this weird javascript with the id "waxCS" code do?
body: <p>I have seen the code:</p>
  
  <pre><code>var WAX = function () {
      var _arrInputs;
      window.addEventListener('waxSetArr', function(evt) {
          _arrInputs = evt.detail;
      });
      return {
          getElement: function (i) {
              return _arrInputs[i];
          }
      }
  }();
  function waxGetElement(i) {
      return WAX.getElement(i);
  }
  </code></pre>
  
  <p>I found this piece of weird javascript code on my website even though I didn't mean to add it. I have searched all over the internet about what it does. I still can't really get what it does. What does this code do and could someone explain it to me?</p>