HTML updates

Hi fox, had a bit of time on my hands and thought I'd update the HTML in the installer a bit. Consolidated some repeated code into a function and updated the HTML to use id vs name, and added for attributes to the label tags.