Guarantees that oauth and tictactoe have loaded before performing login
Merge pull request #2 from danholevoet/master

Improves loading of libraries in discovery/JS