Add controls using rich:panelMenu's JS API into Metamer example page