change JS var's value