I have different files with javascript code that load different parts of my page. From different parts, I call ajax queries to get content. Once these ajax queries are done,