Final fix in ajax request