Implement universal module definition

AMD or CommonJS or Default bind to window.