dynamic javascript packaging to for more reasonable js payloads