sprites and structural change to html