					}

					_.hooks.run('before-highlight', env);

					if (async && _self.Worker) {
						var worker = new Worker(_.filename);

						worker.onmessage = function(evt) {
							env.highlightedCode = evt.data;

							_.hooks.run('before-insert', env);

							env.element.innerHTML = env.highlightedCode;

							callback && callback.call(env.element);
							_.hooks.run('after-highlight', env);
							_.hooks.run('complete', env);
						};

						worker.postMessage(JSON.stringify({
							language: env.lang