Ok, thanks.
I missed one thing actually, we need to show slider value after page has loaded. (weird `ready` that I had was for that purpose). It's not possibly to set this value in templates, because Firefox saves user input on page refresh. Therefore, value should be set from javascript after page loads.