* added js-specs for legend