Why on earth would you drive a date picker from the server? No one is saying to do that. JS is absolutely fine to build custom UI controls. The form the date picker renders in doesn't need to be 100% JS though.
Use JS to patch over things the browser doesn't implement and let it handle the rest.