I\'m fetching data from an API by using PHP Script and calling that script from javaScript file which loads when DOM have been loaded up meaning after DOM have been loaded b