Added a setImmediate support;
Changed AMD wrapper to a UMD wrapper