before changing ajax request and json files