Pure JavaScript library for optimizing the performance while loading multiple YouTube videos on the same page