JavaScript for the PureShare JavaScript API ActiveMetrics Application