removed JavScript from .html to seperate formatting from code