javascript memory consumption and network performance are improved