js: minor opacity-scale tweaks