Simplify nesting for module binding.

Reduced nested structure for bindings.
return early
use this.* as fallback, as "window" could be undefined in other JS environments.
Merge pull request #3 from tracker1/patch-1

Simplify nesting for module binding.