Nl spi batch

Implemented spi batch

reviewed by: @tcr @jiahuang @tcr @johnnyman727 
It does ... but in javascript :(