BeagleBone Black display
Found out how to do it, here is the code

/*This script writes variable headers and their values to a
/ Nokia 5110 screen on the BBB. The virtual HDMI cape must be disabled for
/ this to occur, and the LCD_5110.js file must be placed in the same directory.
/ verified to work with BBB REV C, use pins
/
/ lcd.PIN_SCLK = "P8_38";
/ lcd.PIN_SDIN = "P8_37";
/ lcd.PIN_DC = "P8_39";
/ lcd.PIN_SCE = "P8_41";
/ lcd.PIN_RESET = "P8_43";
/credit to kkeller's work @ github.com/kkeller/Nokia5110 
*/

var lcd = require('./LCD_5110.js');

lcd.PIN_SCLK = "P8_38";
lcd.PIN_SDIN = "P8_37";
lcd.PIN_DC = "P8_39";
lcd.PIN_SCE = "P8_41";
lcd.PIN_RESET = "P8_43";


var strokeInterval = 2300;
var voltage = 9;
var error = 'none';




lcd.setup();
lcd.gotoXY(0,0);
lcd.string('            CYCLES: '+strokeInterval);
lcd.clear();

lcd.gotoXY(0,0);
lcd.string('            VOLTAGE: '+ voltage);
lcd.clear();

lcd.gotoXY(0,0);
lcd.string('            ERRORS: '+ error);
lcd.clear();

lcd.string('');