JS Lib to prefetch files for next page, you just need to pass an array to Prefecher obj. Vanilla JS
var prefetcher = new PREFETCHER([srcs]);
prefetcher.loadPrefetch();
Called on download start
PREFETCHER.prototype.loadBegin = function(){};
Called on every item completition with success
PREFETCHER.prototype.loadItemComplete = function(status){};
Called on every item completition with error
PREFETCHER.prototype.loadItemError = function(status){};
Called after download completed
PREFETCHER.prototype.loadComplete = function(){};
Begin donwload
PREFETCHER.prototype.loadPrefetch()