update for dc law
fixed the dc law js