Use setImmediate.bind to fix issue in requirejs/prim#2