fixed slider script output: removed obsolete comma at the end of the attribute list

This fixes the slider in IE 6 and 7.