Example structure for JavaScript SPA application that uses GITHUB API to load sample data