">             <td class="docs">               <div class="pilwrap">                 <a class="pilcrow" href="#section-3">&#182;</a>               </div>               <p>Bind listeners to some events (available events are <code>close</code>, <code>error</code> and <code>ready</code>)</p>             </td>             <td class="code">               <div class="highlight"><pre>  <span class="p">.</span><span class="kc">on</span><span class="p">(</span><span class="s1">&#39;close&#39;</span><span class="p">,