Callback function of $.get logs only two asterisks.

Callback function of $.get logs only two asterisks.

Hello,
I am trying to use "console.log" to view the response of the server. My code is as follows :
  1. <script type="text/javascript">
  2. $.get("process.php", function(response){
  3. console.log(response);
  4. });
  5. </script>
And the only thing my browser logs are two asterisks. The PHP code was as the code below: 
  1. <?php 
  2. if ($_GET){
  3. $rec = $_GET["name"];
  4. $msg = "Welcome, " . $rec . "!";
  5. return $msg;
  6. } else {
  7. return "No data recieved by the Server";
  8. }
  9.  ?>
Would you be kind to guide me throught solving this problem? 
Thank you very much in advance.