working ajax calls to github api