Expose the demo object in the global scope

This is nice for debugging in the developer console.
Merge pull request #39 from ninjadev/global

Expose the demo object in the global scope