Resolve path for js-files.