Flexible ascii progress bar for nodejs