infinite loop of ajax requests in sharrre fixed