I have this javascript function that\'s sending some data to a Laravel PHP function through POST, and i would like to run another function that could take some time after the re