strict comparison on typeof define

This ensures compatibility with the r.js optimizer's namespace functionality, and it's just good practice :]
Merge pull request #19 from b3nj4m/patch-1

strict comparison on typeof define