[Jaws_Layout]: Fixed base script if user rewrite enabled