var lastChild = document.getElementById("myListID").lastChild;
var x = document.getElementById("myList").lastElementChild.innerHTML;