Allow to use relative paths for temporary and static files when cwd and .js directories are different