added revert attempt outcome messages, removed contextual ajax revert button for now as it's not functional, improved readaibility of scripts