title: Tampermonkey - Issue using jquery and jquery UI
body: <p>I want to add an "info div" on a website. For this, I add some html via a <b>Tampermonkey</b> script:</p>
  
  <pre><code>// ==UserScript== 
  // @name         New script 
  // @namespace    http://tampermonkey.net/ 
  // @version      1.1 
  // @description  try to take over the world! 
  // @author       You 
  // @match        http://www.monsite.com/* 
  // @grant        GM_getValue 
  // @grant        GM_setValue 
  // @grant        GM_listValues 
  // @grant        GM_addStyle 
  // @grant        GM_getResourceText 
  // @require      https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js
  // @require      https://code.jquery.com/ui/1.11.4/jquery-ui.min.js
  // ==/UserScript== 
  /* jshint -W097 */ 
  'use strict'; 
  
  var html = "&lt;div id='myDiv'&gt;CONTENT&lt;/div&gt;"; 
  $('body').append(html);
  
  $(function() {
      $( "#myDiv" ).draggable();
  });
  </code></pre>
  
  <p>When I try to move it, I got a console error : </p>
  
  <pre><code>Uncaught TypeError: n.style is not a function
  </code></pre>
  
  <p>For information, I got the same issue if I want to use <i>$.slideToggle()</i>..</p>
  
  <p>Any idea how to fix this ?</p>
  
  <p>Thanks</p>