Formatting Output Javascript Array Of Functions Matlab Tutorial