Pr loads on page in JS