move graph specific block to generic extra_head_tags