Use DOM for meta and scripts

First step in using DOM detecting apps with meta and script's patterns.
Not the cleaner we can do but it works !