fix javascript i18n link in headers when path is a symlink