improve js-version when built on travis

[#67763658]