enable ajax functionality on index page