fixed bundle to work inside web worker