added js for dropdown questions