An united javascript coding pattern supporting both AMD and CommonJS.