fixed type for nodejs example