alphaindex ajax working