Make onInitialize callback optional in nodeWorkerUtils