upload working for different formats, jquery redesign of sorting page