Scripts checking

WIP

Javascripts are another important source we could check. They behave technically mostly like images, except they can have content. Should I implement more?
Good question, I think so, for completeness sake.