title: Unexpected token colon JSON after jQuery.ajax#get
body: <p>I have created a minimalist API on <em>nodejs</em> which return data in JSON format.</p>
  
  <p>But every time I try to make a ajax#get call and pass my API as URL, I will get an error and judging from Chrome,  I'm getting a <code>"Unexpected token :"</code> error;</p>
  
  <p>here the server code in <em>nodejs</em> + <em>express</em>:</p>
  
  <pre><code>var
   http    = require( 'http' ),
   express = require( 'express' ),
   app      = express(),
   server  = http.createServer( app );
  
  app.get( '/', function( req, res ) {
      console.log( 'req received' );
          res.setHeader('Content-Type', 'application/json');
      res.end( JSON.stringify({
      Name : "Tom",
      Description : "Hello it's me!"
      }) );
  
  });
  
  server.listen(3000, function() {
      console.log( 'Listening on 3000' );
  });
  </code></pre>
  
  <p>The JSON returned from <code>"/"</code> is: <code>{"Name":"Tom","Description":"Hello it's me!"}</code>.</p>
  
  <p>Here is my call from the client js:</p>
  
  <pre><code>$.ajax({
      url: findUrl,
      type: 'get',
      dataType: 'jsonp',
      success: function ( data ) {
          self.name( data.Name );
          self.description( data.Description );
      },
      error: function( jqXHR, textStatus, errorThrown ) {
          alert(errorThrown);
      }
  });
  </code></pre>
  
  <p>When plotting the error I get: <code>"jQuery111108398571682628244_1403193212453 was not called"</code></p>
  
  <p>Can someone help me?</p>
  
  <p>I know this question has been asked already but I haven't manage to find a solution which fix my program.</p>