JS: returnLast() (returns last in array)