added ajax getlist functionality