changes in datepicker, added datepicker locales, changes for issue #2 and #3