index page update;common.js added