[Jobs] added a basePath to a js-script (needed for YAWIK in subDirs)

(#5579)