Works in a web worker, attaching to self.moment