Updated the demo.js to coffeescript and added some extras
Optimized demo.js
Starting to integrate dragging