fix the task completion to happen after require function call, to avoid race condition inside of r.js
v0.0.3