Added optional name space. 

I've used this to help protect namespace in browser. This is important when developing third party applications that get injected into other websites.

Also, you guys may want to look into changing the licence to MIT or dual.