Updated sociate.php to load scripts with Ajax URL set to https