Javascript Select Last Element In Array Javascript W3schools