Trying to add ajax for logging 'click call'