appending dropdown to html element instead of body

Some HTML documents do not have a body (e.g. frameset documents).

Appending the dropdown to the html element ensures that it will display even in documents that have no body.