Updated slider widget to use generic slider JS class