Allow the customization of the plaintext / html length ratio

Add a custom var to enable the customisation of the ratio between the length of the html and the plaintext parts under which the text is considered to be garbage