Replace frame script by a js module.
Remove code needed to handle undefined urls
remove hardcoded path
HostJar minor refactoring.