If 1MB is obesity then what is this page? https://www.javapoly.com
Something that compiles and runs java applications in pure JS is bound to use up a shit-ton of bandwidth.
A really bad example to use for bloated pages.
One look at the function would cause severe ingestion in most people.