Dynamically find and handle raw dataset property names.

Also includes minor cleanup of the deprecated Math hack I wrote.

This change will be really effective after USCB supports AJAX lookups against the RESTful JSON descriptions of the data (which includes the property names). For now we have to reproduce the JSON values locally, which isn't very dynamic :(