rangeslider: bugfix undeclared vars