function removeByHTML(id, tag, content) {
var a = document.getElementById(id).getElementsByTagName(tag);
for(var i=0; i<a.length; i++) if(a[i].innerHTML == content) {
a[i].parentNode.removeChild(a[i]);
break;
}
}
removeByHTML('container', 'a', 'Back to Home');