Tried changing to JSONP to see if that allows code to work on GitHub.io pages.