[TASK] Adjust JS to handle multiple issues in one form