Ajax call works. But not getting results correctly. Debugging.