get main page working with Ajax