Translations:User:CKoerner (WMF)/Page Previews improvements/5/en

Refactored the code (that's fancy developer-speak of restructuring the code to be more performant and stable)