Improve html for web agent