Fix the bug of jquery date picker bug