Specified that the JS request is made to 'favorites.json'