for js date picker