修复js错误