update link js for date picker