added nodejs support to bugle-js