Work around ECMA5+ features.

 On branch browserfy
	modified:   index.js
Adds browser shim.

	modified:   index.js
Merge pull request #4 from kixxauth/browserfy

Browserfy