Moving html to a variable