Update site-script.js

fixed an issue with range input slider function