create index page and init css & js