Refactor to set body background color in html