Working ajax populate sample