Fixed refactoring of cloning in sortable.js