sorting the list of messages, hiding / showing details working semi-properly
removed duplicate jquery references