another minor JS tweak