white space fix
adding of ajax code on homepage and genrepage