pipelet.js, Trace(): move trace() function at the end of Trace()