Using array access feature of libsbml.js