add ajax and json functionality to home page
add ajax and json functionality to home page