some js to make the button animate on click