add github api & cross domain ajax code