updated demo js to $.slider syntax