Fix the button label not showing

Jquery method deprecated.
Merge pull request #1 from tonypine/master

Fix the button label not showing