js for adding questions for an existing survey without refreshing the page