Judge takes election equipment on night of election