document.getElementById("ayuda").setAttribute("aria-current", "page");

var aside = document.getElementById("complementario");

var form = document.createElement("FORM");
var p = document.createElement("P");
var label = document.createElement("LABEL");
label.setAttribute("for", "repo");
t = document.createTextNode("cuenta/repositorio de GitHub");
label.appendChild(t);
var input = document.createElement("INPUT");
input.setAttribute("type", "text");
input.setAttribute("id", "repo");
input.setAttribute("name", "repo");
label.appendChild(input);
var submit = document.createElement("BUTTON");
submit.setAttribute("id", "submit");
var t = document.createTextNode("Consultar descargas de última versión");
submit.appendChild(t);
p.appendChild(label);
form.appendChild(p);
aside.appendChild(form);
aside.appendChild(submit);

$(document).ready(function () {
	$("#submit").click(function () {
		$.getJSON("https://api.github.com/repos/releases/latest", function(json) {
			var name = json.name;
		});
	});
});

@@ -621,24 +621,63 @@
  %22submit%22);%0A
+submit.setAttribute(%22type%22, %22button%22);%0A
 var t = docu
@@ -808,38 +808,12 @@
 p);%0A
-aside.appendChild(form);%0Aaside
+form
 .app

Add type attribute set to button