working buttons and scripts in html