Much more require.js friendly
Merge pull request #46 from korczis/auth

Much more require.js friendly