[TIMOB-16269] Fixed relative paths to js files referenced from html file...

...s by compacting the path.