refactoring js, remove an unused variable in parameter_set_controller#_figure_viewer