BUGFIX: JS error when miles aren't tracked.
BUGFIX: JS Error when miles are not tracked.