Fix 65 javascript timepicker 1

fixes CG-CamSys/Backlog#65 and CG-CamSys/Backlog#66