Lune

WWW2020Top-tier venue

JSCleaner: De-Cluttering Mobile Webpages Through JavaScript Cleanup

Moumena Chaqfeh, Yasir Zaki, Jacinta Hu, Lakshmi Subramanian

Abstract

A significant fraction of the World Wide Web suffers from the excessive usage of JavaScript (JS). Based on an analysis of popular webpages, we observed that a considerable number of JS elements utilized by these pages are not essential for their visual and functional features. In this paper, we propose JSCleaner, a JavaScript de-cluttering engine that aims at simplifying webpages without compromising their content or functionality. JSCleaner relies on a rule-based classification algorithm that classifies JS into three main categories: non-critical, replaceable, and critical. JSCleaner removes non-critical JS from a webpage, translates replaceable JS elements with their HTML outcomes, and preserves critical JS. Our quantitative evaluation of 500 popular webpages shows that JSCleaner achieves around 30% reduction in page load times coupled with a 50% reduction in the number of requests and the page size. In addition, our qualitative user study of 103 evaluators shows that JSCleaner preserves 95% of the page content similarity, while maintaining nearly 88% of the page functionality (the remaining 12% did not have a major impact on the user browsing experience).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Digital Disparities: A Comparative Web Measurement Study Across Economic Boundaries cites A First Look at Public Service Websites from the Affordability Lens
  • Digital Disparities: A Comparative Web Measurement Study Across Economic Boundaries cites A Framework for Improving Web Affordability and Inclusiveness
  • A Framework for Improving Web Affordability and Inclusiveness cites BrowseLite: A Private Data Saving Solution for the Web
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. BrowseLite: A Private Data Saving Solution for the WebConor Kelton, Matteo Varvello, Andrius Aucinas, Ben LivshitsWWW 2021 · 11 citations
  2. A Framework for Improving Web Affordability and InclusivenessRumaisa Habib, Sarah Tanveer, Aimen Inam, Haseeb Ahmed et al.SIGCOMM 2023 · 7 citations
  3. Digital Disparities: A Comparative Web Measurement Study Across Economic BoundariesMasudul Hasan Masud Bhuiyan, Matteo Varvello, Cristian-Alexandru Staicu, Yasir ZakiWWW 2025 · 5 citations
  4. A First Look at Public Service Websites from the Affordability LensRumaisa Habib, Aimen Inam, Ayesha Ali, Ihsan Ayyub Qazi et al.WWW 2023 · 4 citations
  5. MAML: Towards a Faster Web in Developing RegionsAyush Pandey, Matteo Varvello, Syed Ishtiaque Ahmed, Shurui Zhou et al.WWW 2025 · 3 citations

Related papers

  1. QLUE: A Computer Vision Tool for Uniform Qualitative Evaluation of Web PagesWaleed Hashmi, Moumena Chaqfeh, Lakshminarayanan Subramanian, Yasir ZakiWWW 2022 · 7 citations
  2. Detecting and Understanding Self-Deleting JavaScript CodeXinzhe Wang, Zeyang Zhuang, Wei Meng, James ChengWWW 2024
  3. Increasing the Responsiveness of Web Applications by Introducing Lazy LoadingAlexi Turcotte, Satyajit Gokhale, Frank TipASE 2023 · 3 citations
  4. Horcrux: Automatic JavaScript Parallelism for Resource-Efficient Web ComputationShaghayegh Mardani, Ayush Goel, Ronny Ko, Harsha V. Madhyastha et al.OSDI 2021 · 9 citations
  5. Jawa: Web Archival in the Era of JavaScriptAyush Goel, Jingyuan Zhu, Ravi Netravali, Harsha V. MadhyasthaOSDI 2022
Dusk over the sea between two cliffs drawn in fine vertical lines