Detect if require available on root object
typeof root.require !== 'undefined' -> root.require
Merge pull request #100 from eastridge/master

Detect if require object available on root