Update datepicker.js

Resolve error described here:
http://stackoverflow.com/questions/16076304/jquery-datepicker-only-works-once-and-is-not-shown-the-second-time