modules - unify js for sortable functionality