update new pages and fix some issues of javascript