Added ajax for hit