ajax working with isolated elements after cell click