rem: var flyTab = document.getElementById('fly_tab'); flyTab.appendChild(controllerView); 
add: var heads_up_display_content= document.getElementById('heads_up_display_content'); heads_up_display_content.appendChild(controllerView); 
context: function addgamepad(gamepad){	controllers[gamepad.index] = gamepad;	var controllerView = document.createElement("div");	controllerView.setAttribute("id", "controller" + gamepad.index);	var controllerHeader = document.createElement("h1");	controllerHeader.appendChild(document.createTextNode("User Game Controller: " + gamepad.id));	controllerView.appendChild(controllerHeader);	var buttons = document.createElement("div");	buttons.className = "buttons";	for(var i =0; i<gamepad.buttons.length; i++){		var button = document.createElement("span");		button.className = "button";		button.innerHTML = i;		buttons.appendChild(button);	}	controllerView.appendChild(buttons);	var axes = document.createElement("div");	axes.className = "axes";	for(var i=0; i<gamepad.axes.length; i++){		var axis = document.createElement("progress");		axis.className = "axis";		axis.setAttribute("max", "2");		axis.setAttribute("value", "1");		axis.innerHTML = i;		axes.appendChild(axis);	}	controllerView.appendChild(axes);	var flyTab = document.getElementById('fly_tab');	flyTab.appendChild(controllerView);	rAF(updateStatus_withTimeOut);}
meta: 10965	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10965/7d0510801dadc75e82b1856b4bf667ba8da0e0bd/BeagleQuadHome.js/clean/code/ControlTower/javascript/BeagleQuadHome.js