Converted api key manager's ajaxy edit/activate capabilities to jquery.