Immediately-Invoked Function Expression, CommonJS y AMD