homework4 with HTML5 range slider