make objects from added items via ajax