javascript get the last element of json

JavaScript
model.json
Source

Also in JavaScript: