NodeJS integration to Beanstream API