Firefox google demo

What is the split between login.js and this file? It's confusing that logic for oauth is split between 2 files, and probably warrants a comment.