initial functionality for github ajax request