Minimize js with data-sort-value feature