Improves the website validation function.