Changed sortable.js to use innerHTML rather than innerText
Refactored JS and added support for ore variants.