WIP for gh-pages merge.
Reworked javascript for github login.
Converting github.sh to github.js. Will keep github.sh as a fail-safe.