made ajax follow button
debugged javascript