Update ProfilistWorker.js

from here it looks like they xfree even when nelements == 0
https://github.com/mozeq/skippy-xd/blob/2f8b6552d5abefbb3e6eb58ddaeebb9e79d76ffa/wm.c#L478