JS based timer and clock widget with custom slide and power/up/down controls