Ajax functionality added to home page.