Converted Switches Widgets to plain js, no more jquery ui draggable