Update datePicker.js to fix #119

tested for Thu 12 Jun, Sun 1 Jun, Mon 2 Jun, Thu 1 May, using all 4 permutations of Month vs Week, Mon vs Sun. Hopefully this is it! :-)