Retrieving list of projects with JSON XHR