async.setImmediate not set in a browser env