start moving FeatureTable code out of html