I believe that was an attempt to give visual feedback on an AJAX submit - not used any more, bad JS, should be removed , I believe ;)