fix DataCloneError when logging from inside a WebWorker
attach module function on Alea; module uses its own instance of alea
for convenience