Put ajax all in one place