add class to button for javascript