added render method for prefetched content

separated methods between already prefetched html content and the one
that will be builded from a json content