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

... included js files.