Docs: list of api of some modules
Some webpage properties should depends on the document type

We should inject javascript only into html page.
refactorization of properties that returns content/plainText