implement infobot in nodejs