adding css to style the button and js to make it work