text-align:center
move javascript out of html