Adds AJAX based sorting. Adds Flash Messages to the JS.