changes in ajax

ajax loading made working