Speeded up document script node formatting.