js popup tweak