SEO & enable linking to images.

SEO; remove JS document generation, and generate html instead.