Added type attribute for button tags