I need to stop a function from proceeding until my php script gets the contents from a file that takes a bit of time to load. Once loaded I update the object that holds this information on my JavaScript file: I need to stop a function from proceeding until