Updated dashboard.js to fix a bug
Updated dashboard.js to fix a bug

The formatDollars function used maximumFractionDigits as 0, and the style used is "currency", with currency "USD". This causes an exception, and the value is never updated on screen.
According to specification, the maximum value should be between the minimum for the style and 20. For currency, the minimum is defined by ISO 4217 according to the currency type, which sets the minimum fraction of USD to 2.
googlecodelabs/cloud-dataflow-nyc-taxi-tycoon,googlecodelabs/cloud-dataflow-nyc-taxi-tycoon,googlecodelabs/cloud-dataflow-nyc-taxi-tycoon