complete second&third pages and fix some js