refactored drag and drop plugin and avoid jquery missing in IE 10