(chore) whitespace only
(chore) use consistent quotmark
(fix) leaking variable onto the global
(fix) always use strict comparison
(fix) missing semicolons
(fix) bad reference to APP_ID_PARAM. isAuthenticated obviously never worked
Merge pull request #3 from omsmith/cleanup

Sweet!