Privly.js fix from Firefox extension