[javascripts] update txt in button