Check for rendered HTML before rendering in client