changed buttons

added two button CSS styles
change html from links to buttons
trying to fix JS loop