JS support for reflection, math, debugging fixes for type "unknown"

This should be a fast-forward for you.  I have spent more than 2 months getting this to a stable configuration,
tracking your changes along the way.  Please incorporate this work before making more changes, especially  to genjs.grace.