* Changes to simplify library so it can be used and data can be supplied
by metadata parameters instead of bootstrapping javascript.