JavaScript Last Elements Mesmo Classe
var someElementsItems = document.querySelectorAll(".some-element");
console.log(someElementsItems[someElementsItems.length -1])
Relieved Rhinoceros