Finished basic conversion of timepicker to coffeescript