title: Use of getUserData() or setUserData() is deprecated
body: <p>I get the message: Use of <code>getUserData()</code> or <code>setUserData()</code> is deprecated. Use <code>WeakMap</code> or <code>element.dataset</code> instead.</p>
  
  <p>I use the java script below. And don't understand what I have to change.</p>
  
  <pre><code>$(window).load(function status(){
    $(function status() {
          $.get('/status.php', function(data) {
              $('#valuedata').html(data['valuedata']); 
          });
          setTimeout(status, 10000);
    });
  });
  </code></pre>