Something like this? Assuming 10 LEDs in the first string:
var rgb = new Uint8ClampedArray(25*3);
require("neopixel").write(B15, new Uint8Array(rgb.buffer, 0, 10*3));
require("neopixel").write(other_pin, new Uint8Array(rgb.buffer, 10*3));
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Something like this? Assuming 10 LEDs in the first string: