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.