index page enhanced, ajax functions was added