implement _.setImmediate for browser and old node versions