added js validation to add question/suquestion