Would prefer if the DOM setup code lived in its own function for clarity.