#add book: [chenhaizhou & zhoujie] - extract public js
#add book: [chenhaizhou & zhoujie] - add path basePath