codegen now evaluates functions when it finds them as properties of objects. changed tests to use ms, seconds and beats. added some text to index page