working JavaScript text tweaks