Judiciary is the basis of our democracy: CJ