Updated js-files for sorting