         return toReturn
 }`
 
-`extractData = function() {
-	var map = {};
-	$("#mTable > tr").each(function () {
-		var cRole = $(this).children("td:eq(0)")[0].innerText;		
-		var sRole = $(this).children("td:eq(1)")[0].innerText;		
-		if (!map[sRole])
-			map[sRole] = [];
-		map[sRole].push(cRole);
-	});
-	return map;
-}
-`
 
 # Takes our table data and converts it into the mapping object
 # needed by the API.

                for (var i in SLI_ROLES) {
                      rMap.push([SLI_ROLES[i], SLI_ROLES[i]]);
                }
		rMap.push(["SLI Administrator", "SLI Administrator"]);
                var success = function(data) {
                        rMap = getTableData(data.mappings);
                        sortTable(rMap, sortCol, sortOrder[sortCol]);

		//fade in last one
		table.append(tr);
		// We typically wouldnt expect a user to remap sli admin, so dont show in list
		tr.show();
		if (editable) {
        		$(tr).find(".deleteButton").each(function() {
                		$(this).click(function() {
