Fixing due date picker in HTML5-compatible browsers