Separated concerns, moved script to bottom of html.