Solved Ajax issues