reduces js footprint