Moving jquery draggable maker to the router.js. This makes sure the very first time the user clicks on the divs, the text is not selected and the div moves right away. Also it is not a good practice to define jquery on document ready inside another function that itself is a jquery document ready