Fired when a node has been added as a child of another node. This event is dispatched after the insertion has taken place. The target of this event is the node being inserted.
Context Info: relatedNode holds the parent node
so in theory you ought to be able to include the event in your function and fiddle with that.
var el = event.element();
$("controlsUpload").innerHTML="<form id='UploadData' name = 'UploadData' action='php/uploader.php' method='post' enctype='multipart/form-data' target='upload_target' ><div ><input id='UploadFile' name='UploadFile' type='file' size=24 onChange = 'StartUpload()'/></div></form>"