Added type checking
Added ability to set global namespace object
Merge branch 'master' of https://github.com/jasonpecor/spacejs