Algebraic invariants of knots and disordered Potts model