title: JSSOR - Cannot read type property 'currentStyle' of undefined
body: <p>I'm trying to implement the Jssor slider into my page, but I keep coming up with that error in the title. </p>
  
  <p>My content is being dynamically created via Javascript, like so: </p>
  
  <pre><code>var slide = app.createHTML('div', "", {'id':'inventorySlides'}, null);
  
  var div = document.getElementById('invDiv');
  div.appendChild(slide);  
  </code></pre>
  
  <p>and then I procedurally generate cell divs in the same way and append them to <code>slide</code>.</p>
  
  <p>I've defined a function in my main controller as in the example on the basic usage page (<a href="http://www.jssor.com/development/basic-usage-no-jquery.html">http://www.jssor.com/development/basic-usage-no-jquery.html</a>), and after all the content has been generated and appended, I call the function  </p>
  
  <pre><code>jssor_slider1_starter('inventorySlides');
  </code></pre>
  
  <p>But then I get the error message in the console. I've tried logging the inventorySlides div, and it definitely exists in the DOM, so I know it's not that. I tried searching for <code>currentStyles</code>, which turns out is just on IE and Opera, and I'm using Chrome.</p>
  
  <p>So is it something I'm doing wrong? Or is it Jssor that's misbehaving?</p>