Update sample footer to send 1 per sample

Also strip snippet tags for js and css in samples folders.