replace the country visit calculation js version with PHP version, to reduce theajax call memory