Create LGTM image by Javascript.