title: Not working JavaScript webpage on Smart TVs
body: <p>We have made a JavaScript/JQuery webpage with loads data by a HTTP-Request by AJAX, saves the data in the local storage and cricle though the data (every 10 seconds a new page with a part of the data).</p>
  
  <p>This page was used to show informations for companies on a TV. A small PC manages the display and shows the page though a Chrome browser. Now the customer wants to show the page through the build in Browser of the Smart TV. It's a quite new Samsung customer display with the normal Smart TV applications.</p>
  
  <p>The problem is that the page is completely blank. We tested also on other devices (Philips Smart TV, Sony Android-TV, another Samsung devices and so on). On all devices the screen is blank.</p>
  
  <p>So we ask ourselfs, if there is a function or a method which isn't supported on Smart TVs. The following methods we use. Is there anything (also maybe furthermore) which isn't supported in Smart TV browsers?</p>
  
  <ul>
  <li>We have big blocks of HTML code which we add in the webpage with many <code>concat()</code>.</li>
  <li>To make the reqeust we use AJAX this way:</li>
  </ul>
  
  <pre><code>$.ajax({
      type: 'GET',
      url: URL,
      headers: { 'Authorization': AuthCode },
      success: data =&gt; {
          $(`.${widget.name}`).remove();
          widget.render(urlData, data);
      },
      error: data =&gt; {
          render_failed = true;
          if (render_failed) { setTimeout(() =&gt; {render(urlData)}, 10000); }
      }
  });
  </code></pre>
  
  <ul>
  <li>There is a recursion in the appliation. render() calls itself after a timeout: <code>setTimeout(() =&gt; {render(urlData)}, 10000)</code></li>
  <li>We only import JQuery: <code>&lt;script type="text/javascript" src="../js/jquery-3.4.1.min.js"&gt;&lt;/script&gt;</code></li>
  </ul>