Script: generate repetitive HTML