Changes to return new order item ids to front end and populate
javascript array of order items with those ids