convert inaccurate stargazers getJSON call to AJAX