Insert Into Array At Index Javascript Formatter