SITK- Pie Shop – Javascript – array – access the first element of an array