Moving HTML to the top level