BUGFIX JS slider_var not global