metamer: accordion: updated sample with all JS API functions