variant testing: move variant HTML to script tags