修改生成离线阅读pdf的worker
merge code