link: Properly react on mod disable

close #317 
cc @mishanga please, take a look
Does `json` has methods in prototype?