Extended add_ar_by_row and js to submit multiple analyses