Fix require.js examples (close #65)
Add a ready() callback for Require.js loading
Cleanup number of tests code
Merge pull request #118 from mozilla/add-callback-to-ready

Add callback to ready()