improved performance of privly.js content script