Independent requests serialized

Code reviewMedium18 min

Your task

Review this JavaScript function that loads several independent resources for a page. It's slower than expected.