title: Mobile Application Using Sencha Touch - JSON Request Generates Syntax Error
body: <p>I started playing a bit with Sencha Touch.</p>
  
  <p>So I've built a really simple application based on one of the examples just to see how it goes.</p>
  
  <p>Basically it creates a JSON Request which executes a Last.FM web service to get music events near the user's location.</p>
  
  <p>Here's the JSON code:</p>
  
  <pre><code>var makeJSONPRequest = function() {
          Ext.util.JSONP.request({
          url: 'http://ws.audioscrobbler.com/2.0/',
              params: {
                  method: 'geo.getEvents',
                  location: 'São+Paulo+-+SP',
                  format: 'json',
                  callback: 'callback',
                  api_key: 'b25b959554ed76058ac220b7b2e0a026'
              },
              callback: function(result) {
                  var events = result.data.events;
                  if (events) {
                      var html = tpl.applyTemplate(events);
                      Ext.getCmp('content').update(html);                        
                  }
                  else {
                      alert('There was an error retrieving the events.');
                  }
                  Ext.getCmp('status').setTitle('Events in Sao Paulo, SP');
              }
          })
      };
  </code></pre>
  
  <p>But every time I try to run it, I get the following exception: </p>
  
  <blockquote>
    <p>Uncaught SyntaxError: Unexpected token :</p>
  </blockquote>
  
  <p>Anyone has a clue?</p>