add missing istatd-legend.js file