Moving Ajax to its correct path