Date of Birth widget - Javascript