[TIMOB-16453] Added fallback when trying to parse bad html files to find included js files.
Merge pull request #5566 from cb1kenobi/timob-16453

[TIMOB-16453] Added fallback when trying to parse bad html files to find...