add javascript to add questions by clicking on the row, buggy ordering of questions