moving application.js stuff back into index.html

thinking maybe the github api calls cannot be in an external js file - possibly why jekyll won't build the pages?